﻿using System;
using Shared.Service.DataScopes;

namespace Shared.Service.Authorizations.Authorization.DataScopes
{
    [Serializable]

    public class DataScopeCacheItem 
    {
        #region 构造函数

        public DataScopeCacheItem()
        {

        }

        public DataScopeCacheItem(DataScopeType scopeType, string[] scopeKeys)
        {
            ScopeType = scopeType;
            ScopeKeys = scopeKeys;
        }
        #endregion
        
        /// <summary>
        /// 
        /// </summary>
        public  DataScopeType ScopeType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public  string[] ScopeKeys { get; set; }
    }
}
